package com.example.mybatis_demo.entity;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserEntity {
    private int id;
    private String username;
    private String password;
    private String photo;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer state;
    //多表联查 查询所有文章
    private List<ArticleEntity> alist;

}
